package com.yunshipei.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Company implements Serializable {
    @SerializedName("privateDeployment")
    private boolean privateDeployment;
    @SerializedName("themeColor")
    private String globalColor = "#ED4832";
    @SerializedName("enableCapture")
    private boolean enableCapture = true;
    @SerializedName("defaultPageUrl")
    private String homePageURL;
    @SerializedName("useContacts")
    private boolean useContacts = true;
    @SerializedName("companyId")
    private String _id;
    @SerializedName("website")
    private String webSite;
    @SerializedName("managerServer")
    private String managerServer;
    @SerializedName("created")
    private String created;
    @SerializedName("checkInServer")
    private String checkInServer = "";
    @SerializedName("themeCode")
    private String themeCode = "1";
    @SerializedName("runtimes")
    private List<RuntimeInfo> runtimeInfos = new ArrayList<>();
    @SerializedName("docSetting")
    public DocSetting docSetting;
    @SerializedName("useManager")
    public boolean useManagerDownloadRunTimes;

    public static class DocSetting implements Serializable {
        @SerializedName("documentSecurity")
        public int documentSecurity = 1;
        @SerializedName("serverAddress")
        public String serverAddress;
        @SerializedName("highSpeedMode")
        public boolean highSpeedMode;
    }

    @SerializedName("logs")
    public List<String> logs;

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getCheckInServer() {
        return checkInServer;
    }

    public void setCheckInServer(String checkInServer) {
        this.checkInServer = checkInServer;
    }

    public void setWebSite(String webSite) {
        this.webSite = webSite;
    }

    public void setManagerServer(String managerServer) {
        this.managerServer = managerServer;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public void setThemeCode(String themeCode) {
        this.themeCode = themeCode;
    }

    public String get_id() {
        return _id;
    }

    public String getWebSite() {
        return webSite;
    }

    public String getManagerServer() {
        return managerServer;
    }

    public String getCreated() {
        return created;
    }

    public void setRuntimeInfos(List<RuntimeInfo> runtimeInfos) {
        this.runtimeInfos = runtimeInfos;
    }

    public List<RuntimeInfo> getRuntimeInfos() {
        return runtimeInfos;
    }

    public void setEnableCapture(boolean enableCapture) {
        this.enableCapture = enableCapture;
    }

    public boolean isEnableCapture() {
        return enableCapture;
    }

    public void setPrivateDeployment(boolean privateDeployment) {
        this.privateDeployment = privateDeployment;
    }

    public String getGlobalColor() {
        return globalColor;
    }

    public void setGlobalColor(String globalColor) {
        this.globalColor = globalColor;
    }

    public boolean isPrivateDeployment() {
        return privateDeployment;
    }

    public String getHomePageURL() {
        return homePageURL;
    }

    public void setHomePageURL(String homePageURL) {
        this.homePageURL = homePageURL;
    }


    public void setUseContacts(boolean useContacts) {
        this.useContacts = useContacts;
    }

    public boolean isUseContacts() {
        return useContacts;
    }

    public String getThemeCode() {
        return themeCode;
    }
}
